import request from "../utils/request";

/**
 *
 * @param {查询换热站} params
 * @returns
 */
export function getHeatStation(params) {
    return request({
        url: "/heatStation/listHeatStation",
        method: "post",
        params,
    });
}

/**
 *
 * @param {添加换热站} params
 * @returns
 */
export function addHeatStation(params) {
    return request({
        url: "/heatStation/addHeatStation",
        method: "post",
        params,
    });
}

/**
 *
 * @param {编辑换热站} params
 * @returns
 */
export function editHeatStation(params) {
    return request({
        url: "/heatStation/updateHeatStation",
        method: "post",
        params,
    });
}

/**
 *
 * @param {删除热源} params
 * @returns
 */
export function delHeatStation(params) {
    return request({
        url: "/heatStation/delHeatStation",
        method: "post",
        params,
    });
}